﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:Models="clr-namespace:PomodoroMinutes.Models" mc:Ignorable="d"
	x:Class="PomodoroMinutes.NumericTag"
	x:Name="UserControl"
	d:DesignWidth="32" d:DesignHeight="30">
        <UserControl.DataContext>
            <Models:MinutesViewModel/>
        </UserControl.DataContext>

	<Grid x:Name="LayoutRoot">
		<Path Data="M59,107 L59.166665,135.49976 75,128.91643 90.166333,135.7501 90,107" HorizontalAlignment="Left" Height="29.75" Stretch="Fill" VerticalAlignment="Top" Width="32.167" RenderTransformOrigin="0,0">
			<Path.Fill>
				<LinearGradientBrush EndPoint="0.5,1" MappingMode="RelativeToBoundingBox" StartPoint="0.5,0">
					<GradientStop Color="#FFD40000" Offset="1"/>
					<GradientStop Color="#FD630101"/>
					<GradientStop Color="#FF040000"/>
					<GradientStop Color="#FF730000" Offset="0.256"/>
				</LinearGradientBrush>
			</Path.Fill>
			<Path.Stroke>
				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
					<GradientStop Color="Gainsboro" Offset="0"/>
					<GradientStop Color="Gainsboro" Offset="1"/>
				</LinearGradientBrush>
			</Path.Stroke>
		</Path>

        <Label Content="{Binding Path=DisturbanceCount}" FontFamily="Aharoni" FontSize="22" Foreground="#FFDADADA" HorizontalContentAlignment="Center" HorizontalAlignment="Stretch" Margin="0,-5
               ,0,0"/>
	</Grid>
</UserControl>